package cn.tlb;

import android.app.Application;
import android.util.Log;

import com.alexbbb.uploadservice.UploadService;

import org.xutils.x;

import cn.tlb.xutilsdownload.BuildConfig;

/**
 * Created by 汤林冰 on 2015/11/24 09:48.
 */
public class MyApplication extends Application {
    private static final String TAG = MyApplication.class.getSimpleName();
    @Override
    public void onCreate() {
        super.onCreate();
        x.Ext.init(this);

        Log.i(TAG, "chanel:::: " + BuildConfig.FLAVOR);
        // setup the broadcast action namespace string which will
        // be used to notify upload status.
        // Gradle automatically generates proper variable as below.
        UploadService.NAMESPACE = BuildConfig.APPLICATION_ID;
    }
}
